body {
    background-color: antiquewhite;
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.game-info{
    display: flex;
    margin-bottom: 10px;
}

.game-info > .status{
    flex-grow: 1 ;
    text-align: center;
}
.cell {
    width: 20px;
    height: 20px;
    background-color: #aaa;
    font-size: 14px;
    display:flex;
    justify-content: center;
    align-items: center;

    cursor: default;
    user-select: none;
    position: relative;
}

.cell.open {
    background-color: #fff;
}

.cell.exploded{
    background-color: #ff0000;
}

.cell.warn-1{
    font-weight: bolder;
    color: blue;
}

.cell.warn-2{
    font-weight: bolder;
    color: green;
}

.cell.warn-3{
    font-weight: bolder;
    color: red;
}

.cell.warn-4{
    font-weight: bolder;
    color: rgb(165, 47, 134);
}

.cell.warn-5{
    font-weight: bolder;
    color: gold;
}

.cell.warn-6{
    font-weight: bolder;
    color: rgb(128, 239, 85);
}

.cell.warn-7{
    font-weight: bolder;
    color: cyan;
}

.cell.warn-8{
    font-weight: bolder;
    color: mediumvioletred;
}



.cell > .mine {
    display: none;
    position: absolute;
}

.cell > .flag {
    display: none;
    position: relative; 
    z-index: 1;
}


.cell.flag > .flag{
    display: block;
}

.cell.exploded > .mine {
    display: block;
}

.cell.open > .mine {
    display: block;
}
